package com.zjgsu.nftplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ahy231
 * @date 2022/3/4 11:03
 * @description
 */
@Data
@ApiModel("关注")
public class Follow {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("关注者id")
    private Long followerId;
    @ApiModelProperty("被关注的人id")
    private Long followedId;
    @ApiModelProperty("被关注的人头像")
    private String followedImg;
    @ApiModelProperty("被关注的人姓名")
    private String followedName;
    @ApiModelProperty("关注类型")
    private Integer followType;
}
